def get(name: str, base_path: str = "D:/projects/python/fjsp-instances/"):
    import json

    result = {}
    with open(base_path + "instances.json", "r", encoding="utf-8") as instances_json:
        result = next(
            (item for item in json.load(instances_json) if item["name"] == name),
            None,
        )
        if result is None:
            raise ValueError(f"No item found with name {name}.")

        with open(base_path + result["path"], "r", encoding="utf-8") as instance_data:
            result["data"] = instance_data.read()

        return result
